package com.evidencer.demo.Dao;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

/**
 * @Title: UserDao.java
 * @Package com.evidencer.demo.Dao
 * @Description: TODO
 * @author Sunbeam lyzpoq_gmail_com
 * @date 2014-1-29 下午09:03:43
 * @version V1.0
 */
public class UserDao {
	
	public void selectUser(){
		InputStream in=this.getClass().getClassLoader().getResourceAsStream("/db.properties");
		
		Properties p=new Properties();
		
		try {
			p.load(in);
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
		System.out.println(p.getProperty("ConnectURL"));
	}

}

